#ifndef CHARACTERMANAGER_H
#define CHARACTERMANAGER_H

#include <string>
#include <map>
#include "texture.h"
#include "Character.h"
#include <utility>
#include "Report.h"

using namespace std;

typedef map<string,pair<Texture*,int>> mapa;
typedef mapa::iterator itMP;

class CharacterManager
{
public:
	Character* newChr(string tex);
	void delChr(Character* chr);
	CharacterManager(bool deleteUnusedTextures = true);
	Report getReport();
private:
	Report rpt;
	bool DelUnText;
	mapa MP;
};

#endif